﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSharp.Libs.Koc.Models;

namespace CSharp.Libs.Koc
{
    public class MarchHandlerItem : MarchItem
    {
        private PhpCommand _pcMarch = null;
        private bool _fIsSent = false;
        private string _strMarchResult = "";
        private Int64 _intTries = 0;
        private Int64 _intNextTryTick = 0;
        private bool _fIsActive = false;

        public PhpCommand MarchCommand { get { return _pcMarch; } set { _pcMarch = value; } }
        public bool IsSent { get { return _fIsSent; } set { _fIsSent = value; ThrowPropertyChangedEvent("IsSent"); } }
        public string MarchResult { get { return _strMarchResult; } set { _strMarchResult = value; ThrowPropertyChangedEvent("MarchResult"); } }
        public Int64 Tries { get { return _intTries; } set { _intTries = value; } }
        public Int64 NextTryTick { get { return _intNextTryTick; } set { _intNextTryTick = value; } }
        public bool IsActive { get { return _fIsActive; } }
    }
}
